package top.bugger168.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 分页查询通用参数
 *
 * @author wanghaidong
 * @date 2023/08/28
 */
@Data
@ToString
public class PageParams {
    @ApiModelProperty("当前页码")
    private Long pageNo = 1L;
    @ApiModelProperty("每页记录数默认值")
    private Long pageSize =10L;

    public PageParams(){
    }
    public PageParams(long pageNo,long pageSize){
        this.pageNo = pageNo;
        this.pageSize = pageSize;
    }
}